package com.linx.notice.mapper;

import com.linx.notice.domain.InfoScopeUser;
import com.linx.notice.domain.vo.InfoScopeUserVo;
import com.linx.common.mybatis.core.mapper.BaseMapperPlus;
import com.linx.notice.domain.vo.UserVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 信息发布—发送范围用户Mapper接口
 *
 * @author 泽智科技
 * @date 2024-10-21
 */
@Repository
public interface InfoScopeUserMapper extends BaseMapperPlus<InfoScopeUser, InfoScopeUserVo> {

    List<Long> selectUserIdsByScopeId(Long infoScopeId);

    void insertBatchNew(Long infoScopeId, List<Long> userIds);

    List<UserVo> selectUserList();
}
